/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						 elements_of.h

	$Header: /heroes4/elements_of.h $

	$NoKeywords: $

 ************************************************************************/

#if !defined( ELEMENTS_OF_H_INCLUDED )
#define ELEMENTS_OF_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#if !defined( ELEMENTS_OF )

#define ELEMENTS_OF( arr ) ( sizeof( arr ) / sizeof( ( arr )[ 0 ] ) )

#endif // !defined( ELEMENTS_OF )

#endif // !defined( ELEMENTS_OF_H_INCLUDED )
